package com.taotao.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbOrderExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	public TbOrderExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andOrderIdIsNull() {
			addCriterion("order_id is null");
			return (Criteria) this;
		}

		public Criteria andOrderIdIsNotNull() {
			addCriterion("order_id is not null");
			return (Criteria) this;
		}

		public Criteria andOrderIdEqualTo(String value) {
			addCriterion("order_id =", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdNotEqualTo(String value) {
			addCriterion("order_id <>", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdGreaterThan(String value) {
			addCriterion("order_id >", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
			addCriterion("order_id >=", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdLessThan(String value) {
			addCriterion("order_id <", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdLessThanOrEqualTo(String value) {
			addCriterion("order_id <=", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdLike(String value) {
			addCriterion("order_id like", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdNotLike(String value) {
			addCriterion("order_id not like", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdIn(List<String> values) {
			addCriterion("order_id in", values, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdNotIn(List<String> values) {
			addCriterion("order_id not in", values, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdBetween(String value1, String value2) {
			addCriterion("order_id between", value1, value2, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdNotBetween(String value1, String value2) {
			addCriterion("order_id not between", value1, value2, "orderId");
			return (Criteria) this;
		}

		public Criteria andPaymentIsNull() {
			addCriterion("payment is null");
			return (Criteria) this;
		}

		public Criteria andPaymentIsNotNull() {
			addCriterion("payment is not null");
			return (Criteria) this;
		}

		public Criteria andPaymentEqualTo(String value) {
			addCriterion("payment =", value, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentNotEqualTo(String value) {
			addCriterion("payment <>", value, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentGreaterThan(String value) {
			addCriterion("payment >", value, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentGreaterThanOrEqualTo(String value) {
			addCriterion("payment >=", value, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentLessThan(String value) {
			addCriterion("payment <", value, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentLessThanOrEqualTo(String value) {
			addCriterion("payment <=", value, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentLike(String value) {
			addCriterion("payment like", value, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentNotLike(String value) {
			addCriterion("payment not like", value, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentIn(List<String> values) {
			addCriterion("payment in", values, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentNotIn(List<String> values) {
			addCriterion("payment not in", values, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentBetween(String value1, String value2) {
			addCriterion("payment between", value1, value2, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentNotBetween(String value1, String value2) {
			addCriterion("payment not between", value1, value2, "payment");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeIsNull() {
			addCriterion("payment_type is null");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeIsNotNull() {
			addCriterion("payment_type is not null");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeEqualTo(Integer value) {
			addCriterion("payment_type =", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeNotEqualTo(Integer value) {
			addCriterion("payment_type <>", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeGreaterThan(Integer value) {
			addCriterion("payment_type >", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("payment_type >=", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeLessThan(Integer value) {
			addCriterion("payment_type <", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeLessThanOrEqualTo(Integer value) {
			addCriterion("payment_type <=", value, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeIn(List<Integer> values) {
			addCriterion("payment_type in", values, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeNotIn(List<Integer> values) {
			addCriterion("payment_type not in", values, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeBetween(Integer value1, Integer value2) {
			addCriterion("payment_type between", value1, value2, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPaymentTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("payment_type not between", value1, value2, "paymentType");
			return (Criteria) this;
		}

		public Criteria andPostFeeIsNull() {
			addCriterion("post_fee is null");
			return (Criteria) this;
		}

		public Criteria andPostFeeIsNotNull() {
			addCriterion("post_fee is not null");
			return (Criteria) this;
		}

		public Criteria andPostFeeEqualTo(String value) {
			addCriterion("post_fee =", value, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeNotEqualTo(String value) {
			addCriterion("post_fee <>", value, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeGreaterThan(String value) {
			addCriterion("post_fee >", value, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeGreaterThanOrEqualTo(String value) {
			addCriterion("post_fee >=", value, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeLessThan(String value) {
			addCriterion("post_fee <", value, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeLessThanOrEqualTo(String value) {
			addCriterion("post_fee <=", value, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeLike(String value) {
			addCriterion("post_fee like", value, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeNotLike(String value) {
			addCriterion("post_fee not like", value, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeIn(List<String> values) {
			addCriterion("post_fee in", values, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeNotIn(List<String> values) {
			addCriterion("post_fee not in", values, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeBetween(String value1, String value2) {
			addCriterion("post_fee between", value1, value2, "postFee");
			return (Criteria) this;
		}

		public Criteria andPostFeeNotBetween(String value1, String value2) {
			addCriterion("post_fee not between", value1, value2, "postFee");
			return (Criteria) this;
		}

		public Criteria andStatusIsNull() {
			addCriterion("status is null");
			return (Criteria) this;
		}

		public Criteria andStatusIsNotNull() {
			addCriterion("status is not null");
			return (Criteria) this;
		}

		public Criteria andStatusEqualTo(Integer value) {
			addCriterion("status =", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotEqualTo(Integer value) {
			addCriterion("status <>", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusGreaterThan(Integer value) {
			addCriterion("status >", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
			addCriterion("status >=", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLessThan(Integer value) {
			addCriterion("status <", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLessThanOrEqualTo(Integer value) {
			addCriterion("status <=", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusIn(List<Integer> values) {
			addCriterion("status in", values, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotIn(List<Integer> values) {
			addCriterion("status not in", values, "status");
			return (Criteria) this;
		}

		public Criteria andStatusBetween(Integer value1, Integer value2) {
			addCriterion("status between", value1, value2, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotBetween(Integer value1, Integer value2) {
			addCriterion("status not between", value1, value2, "status");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNull() {
			addCriterion("create_time is null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNotNull() {
			addCriterion("create_time is not null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeEqualTo(Date value) {
			addCriterion("create_time =", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotEqualTo(Date value) {
			addCriterion("create_time <>", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThan(Date value) {
			addCriterion("create_time >", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("create_time >=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThan(Date value) {
			addCriterion("create_time <", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
			addCriterion("create_time <=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIn(List<Date> values) {
			addCriterion("create_time in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotIn(List<Date> values) {
			addCriterion("create_time not in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeBetween(Date value1, Date value2) {
			addCriterion("create_time between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
			addCriterion("create_time not between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNull() {
			addCriterion("update_time is null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNotNull() {
			addCriterion("update_time is not null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeEqualTo(Date value) {
			addCriterion("update_time =", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotEqualTo(Date value) {
			addCriterion("update_time <>", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThan(Date value) {
			addCriterion("update_time >", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("update_time >=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThan(Date value) {
			addCriterion("update_time <", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
			addCriterion("update_time <=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIn(List<Date> values) {
			addCriterion("update_time in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotIn(List<Date> values) {
			addCriterion("update_time not in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeBetween(Date value1, Date value2) {
			addCriterion("update_time between", value1, value2, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
			addCriterion("update_time not between", value1, value2, "updateTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeIsNull() {
			addCriterion("payment_time is null");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeIsNotNull() {
			addCriterion("payment_time is not null");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeEqualTo(Date value) {
			addCriterion("payment_time =", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeNotEqualTo(Date value) {
			addCriterion("payment_time <>", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeGreaterThan(Date value) {
			addCriterion("payment_time >", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("payment_time >=", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeLessThan(Date value) {
			addCriterion("payment_time <", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeLessThanOrEqualTo(Date value) {
			addCriterion("payment_time <=", value, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeIn(List<Date> values) {
			addCriterion("payment_time in", values, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeNotIn(List<Date> values) {
			addCriterion("payment_time not in", values, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeBetween(Date value1, Date value2) {
			addCriterion("payment_time between", value1, value2, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andPaymentTimeNotBetween(Date value1, Date value2) {
			addCriterion("payment_time not between", value1, value2, "paymentTime");
			return (Criteria) this;
		}

		public Criteria andConsignTimeIsNull() {
			addCriterion("consign_time is null");
			return (Criteria) this;
		}

		public Criteria andConsignTimeIsNotNull() {
			addCriterion("consign_time is not null");
			return (Criteria) this;
		}

		public Criteria andConsignTimeEqualTo(Date value) {
			addCriterion("consign_time =", value, "consignTime");
			return (Criteria) this;
		}

		public Criteria andConsignTimeNotEqualTo(Date value) {
			addCriterion("consign_time <>", value, "consignTime");
			return (Criteria) this;
		}

		public Criteria andConsignTimeGreaterThan(Date value) {
			addCriterion("consign_time >", value, "consignTime");
			return (Criteria) this;
		}

		public Criteria andConsignTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("consign_time >=", value, "consignTime");
			return (Criteria) this;
		}

		public Criteria andConsignTimeLessThan(Date value) {
			addCriterion("consign_time <", value, "consignTime");
			return (Criteria) this;
		}

		public Criteria andConsignTimeLessThanOrEqualTo(Date value) {
			addCriterion("consign_time <=", value, "consignTime");
			return (Criteria) this;
		}

		public Criteria andConsignTimeIn(List<Date> values) {
			addCriterion("consign_time in", values, "consignTime");
			return (Criteria) this;
		}

		public Criteria andConsignTimeNotIn(List<Date> values) {
			addCriterion("consign_time not in", values, "consignTime");
			return (Criteria) this;
		}

		public Criteria andConsignTimeBetween(Date value1, Date value2) {
			addCriterion("consign_time between", value1, value2, "consignTime");
			return (Criteria) this;
		}

		public Criteria andConsignTimeNotBetween(Date value1, Date value2) {
			addCriterion("consign_time not between", value1, value2, "consignTime");
			return (Criteria) this;
		}

		public Criteria andEndTimeIsNull() {
			addCriterion("end_time is null");
			return (Criteria) this;
		}

		public Criteria andEndTimeIsNotNull() {
			addCriterion("end_time is not null");
			return (Criteria) this;
		}

		public Criteria andEndTimeEqualTo(Date value) {
			addCriterion("end_time =", value, "endTime");
			return (Criteria) this;
		}

		public Criteria andEndTimeNotEqualTo(Date value) {
			addCriterion("end_time <>", value, "endTime");
			return (Criteria) this;
		}

		public Criteria andEndTimeGreaterThan(Date value) {
			addCriterion("end_time >", value, "endTime");
			return (Criteria) this;
		}

		public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("end_time >=", value, "endTime");
			return (Criteria) this;
		}

		public Criteria andEndTimeLessThan(Date value) {
			addCriterion("end_time <", value, "endTime");
			return (Criteria) this;
		}

		public Criteria andEndTimeLessThanOrEqualTo(Date value) {
			addCriterion("end_time <=", value, "endTime");
			return (Criteria) this;
		}

		public Criteria andEndTimeIn(List<Date> values) {
			addCriterion("end_time in", values, "endTime");
			return (Criteria) this;
		}

		public Criteria andEndTimeNotIn(List<Date> values) {
			addCriterion("end_time not in", values, "endTime");
			return (Criteria) this;
		}

		public Criteria andEndTimeBetween(Date value1, Date value2) {
			addCriterion("end_time between", value1, value2, "endTime");
			return (Criteria) this;
		}

		public Criteria andEndTimeNotBetween(Date value1, Date value2) {
			addCriterion("end_time not between", value1, value2, "endTime");
			return (Criteria) this;
		}

		public Criteria andCloseTimeIsNull() {
			addCriterion("close_time is null");
			return (Criteria) this;
		}

		public Criteria andCloseTimeIsNotNull() {
			addCriterion("close_time is not null");
			return (Criteria) this;
		}

		public Criteria andCloseTimeEqualTo(Date value) {
			addCriterion("close_time =", value, "closeTime");
			return (Criteria) this;
		}

		public Criteria andCloseTimeNotEqualTo(Date value) {
			addCriterion("close_time <>", value, "closeTime");
			return (Criteria) this;
		}

		public Criteria andCloseTimeGreaterThan(Date value) {
			addCriterion("close_time >", value, "closeTime");
			return (Criteria) this;
		}

		public Criteria andCloseTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("close_time >=", value, "closeTime");
			return (Criteria) this;
		}

		public Criteria andCloseTimeLessThan(Date value) {
			addCriterion("close_time <", value, "closeTime");
			return (Criteria) this;
		}

		public Criteria andCloseTimeLessThanOrEqualTo(Date value) {
			addCriterion("close_time <=", value, "closeTime");
			return (Criteria) this;
		}

		public Criteria andCloseTimeIn(List<Date> values) {
			addCriterion("close_time in", values, "closeTime");
			return (Criteria) this;
		}

		public Criteria andCloseTimeNotIn(List<Date> values) {
			addCriterion("close_time not in", values, "closeTime");
			return (Criteria) this;
		}

		public Criteria andCloseTimeBetween(Date value1, Date value2) {
			addCriterion("close_time between", value1, value2, "closeTime");
			return (Criteria) this;
		}

		public Criteria andCloseTimeNotBetween(Date value1, Date value2) {
			addCriterion("close_time not between", value1, value2, "closeTime");
			return (Criteria) this;
		}

		public Criteria andShippingNameIsNull() {
			addCriterion("shipping_name is null");
			return (Criteria) this;
		}

		public Criteria andShippingNameIsNotNull() {
			addCriterion("shipping_name is not null");
			return (Criteria) this;
		}

		public Criteria andShippingNameEqualTo(String value) {
			addCriterion("shipping_name =", value, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameNotEqualTo(String value) {
			addCriterion("shipping_name <>", value, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameGreaterThan(String value) {
			addCriterion("shipping_name >", value, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameGreaterThanOrEqualTo(String value) {
			addCriterion("shipping_name >=", value, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameLessThan(String value) {
			addCriterion("shipping_name <", value, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameLessThanOrEqualTo(String value) {
			addCriterion("shipping_name <=", value, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameLike(String value) {
			addCriterion("shipping_name like", value, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameNotLike(String value) {
			addCriterion("shipping_name not like", value, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameIn(List<String> values) {
			addCriterion("shipping_name in", values, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameNotIn(List<String> values) {
			addCriterion("shipping_name not in", values, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameBetween(String value1, String value2) {
			addCriterion("shipping_name between", value1, value2, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingNameNotBetween(String value1, String value2) {
			addCriterion("shipping_name not between", value1, value2, "shippingName");
			return (Criteria) this;
		}

		public Criteria andShippingCodeIsNull() {
			addCriterion("shipping_code is null");
			return (Criteria) this;
		}

		public Criteria andShippingCodeIsNotNull() {
			addCriterion("shipping_code is not null");
			return (Criteria) this;
		}

		public Criteria andShippingCodeEqualTo(String value) {
			addCriterion("shipping_code =", value, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeNotEqualTo(String value) {
			addCriterion("shipping_code <>", value, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeGreaterThan(String value) {
			addCriterion("shipping_code >", value, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeGreaterThanOrEqualTo(String value) {
			addCriterion("shipping_code >=", value, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeLessThan(String value) {
			addCriterion("shipping_code <", value, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeLessThanOrEqualTo(String value) {
			addCriterion("shipping_code <=", value, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeLike(String value) {
			addCriterion("shipping_code like", value, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeNotLike(String value) {
			addCriterion("shipping_code not like", value, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeIn(List<String> values) {
			addCriterion("shipping_code in", values, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeNotIn(List<String> values) {
			addCriterion("shipping_code not in", values, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeBetween(String value1, String value2) {
			addCriterion("shipping_code between", value1, value2, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andShippingCodeNotBetween(String value1, String value2) {
			addCriterion("shipping_code not between", value1, value2, "shippingCode");
			return (Criteria) this;
		}

		public Criteria andUserIdIsNull() {
			addCriterion("user_id is null");
			return (Criteria) this;
		}

		public Criteria andUserIdIsNotNull() {
			addCriterion("user_id is not null");
			return (Criteria) this;
		}

		public Criteria andUserIdEqualTo(Long value) {
			addCriterion("user_id =", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotEqualTo(Long value) {
			addCriterion("user_id <>", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdGreaterThan(Long value) {
			addCriterion("user_id >", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
			addCriterion("user_id >=", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLessThan(Long value) {
			addCriterion("user_id <", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLessThanOrEqualTo(Long value) {
			addCriterion("user_id <=", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdIn(List<Long> values) {
			addCriterion("user_id in", values, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotIn(List<Long> values) {
			addCriterion("user_id not in", values, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdBetween(Long value1, Long value2) {
			addCriterion("user_id between", value1, value2, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotBetween(Long value1, Long value2) {
			addCriterion("user_id not between", value1, value2, "userId");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageIsNull() {
			addCriterion("buyer_message is null");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageIsNotNull() {
			addCriterion("buyer_message is not null");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageEqualTo(String value) {
			addCriterion("buyer_message =", value, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageNotEqualTo(String value) {
			addCriterion("buyer_message <>", value, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageGreaterThan(String value) {
			addCriterion("buyer_message >", value, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageGreaterThanOrEqualTo(String value) {
			addCriterion("buyer_message >=", value, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageLessThan(String value) {
			addCriterion("buyer_message <", value, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageLessThanOrEqualTo(String value) {
			addCriterion("buyer_message <=", value, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageLike(String value) {
			addCriterion("buyer_message like", value, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageNotLike(String value) {
			addCriterion("buyer_message not like", value, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageIn(List<String> values) {
			addCriterion("buyer_message in", values, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageNotIn(List<String> values) {
			addCriterion("buyer_message not in", values, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageBetween(String value1, String value2) {
			addCriterion("buyer_message between", value1, value2, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerMessageNotBetween(String value1, String value2) {
			addCriterion("buyer_message not between", value1, value2, "buyerMessage");
			return (Criteria) this;
		}

		public Criteria andBuyerNickIsNull() {
			addCriterion("buyer_nick is null");
			return (Criteria) this;
		}

		public Criteria andBuyerNickIsNotNull() {
			addCriterion("buyer_nick is not null");
			return (Criteria) this;
		}

		public Criteria andBuyerNickEqualTo(String value) {
			addCriterion("buyer_nick =", value, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickNotEqualTo(String value) {
			addCriterion("buyer_nick <>", value, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickGreaterThan(String value) {
			addCriterion("buyer_nick >", value, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickGreaterThanOrEqualTo(String value) {
			addCriterion("buyer_nick >=", value, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickLessThan(String value) {
			addCriterion("buyer_nick <", value, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickLessThanOrEqualTo(String value) {
			addCriterion("buyer_nick <=", value, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickLike(String value) {
			addCriterion("buyer_nick like", value, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickNotLike(String value) {
			addCriterion("buyer_nick not like", value, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickIn(List<String> values) {
			addCriterion("buyer_nick in", values, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickNotIn(List<String> values) {
			addCriterion("buyer_nick not in", values, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickBetween(String value1, String value2) {
			addCriterion("buyer_nick between", value1, value2, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerNickNotBetween(String value1, String value2) {
			addCriterion("buyer_nick not between", value1, value2, "buyerNick");
			return (Criteria) this;
		}

		public Criteria andBuyerRateIsNull() {
			addCriterion("buyer_rate is null");
			return (Criteria) this;
		}

		public Criteria andBuyerRateIsNotNull() {
			addCriterion("buyer_rate is not null");
			return (Criteria) this;
		}

		public Criteria andBuyerRateEqualTo(Integer value) {
			addCriterion("buyer_rate =", value, "buyerRate");
			return (Criteria) this;
		}

		public Criteria andBuyerRateNotEqualTo(Integer value) {
			addCriterion("buyer_rate <>", value, "buyerRate");
			return (Criteria) this;
		}

		public Criteria andBuyerRateGreaterThan(Integer value) {
			addCriterion("buyer_rate >", value, "buyerRate");
			return (Criteria) this;
		}

		public Criteria andBuyerRateGreaterThanOrEqualTo(Integer value) {
			addCriterion("buyer_rate >=", value, "buyerRate");
			return (Criteria) this;
		}

		public Criteria andBuyerRateLessThan(Integer value) {
			addCriterion("buyer_rate <", value, "buyerRate");
			return (Criteria) this;
		}

		public Criteria andBuyerRateLessThanOrEqualTo(Integer value) {
			addCriterion("buyer_rate <=", value, "buyerRate");
			return (Criteria) this;
		}

		public Criteria andBuyerRateIn(List<Integer> values) {
			addCriterion("buyer_rate in", values, "buyerRate");
			return (Criteria) this;
		}

		public Criteria andBuyerRateNotIn(List<Integer> values) {
			addCriterion("buyer_rate not in", values, "buyerRate");
			return (Criteria) this;
		}

		public Criteria andBuyerRateBetween(Integer value1, Integer value2) {
			addCriterion("buyer_rate between", value1, value2, "buyerRate");
			return (Criteria) this;
		}

		public Criteria andBuyerRateNotBetween(Integer value1, Integer value2) {
			addCriterion("buyer_rate not between", value1, value2, "buyerRate");
			return (Criteria) this;
		}
	}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}